<?php /*a:1:{s:68:"D:\phpstudy_pro\WWW\danyeshop.com\app\admin\view\common\confirm.html";i:1596445022;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>操作确认 - 网站后台管理系统 - Powered by 系统 1.7.8</title>
    <meta name="keywords" content="系统,网站后台管理系统">
    <meta name="description" content="系统是一个采用thinkphp开发的网站后台管理系统，最简洁、易用的后台管理系统。Git仓库：https://gitee.com/caozha/caozha-admin">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="icon" href="/static/admin/caozha/logo/favicon.ico">
    <script src="/static/admin/caozha/js/jquery-3.4.1.min.js"></script>
    <script src="/static/admin/layuimini/lib/layui-v2.5.5/layui.js" charset="utf-8"></script>
    <script src="/static/admin/caozha/js/all.js"></script>
    <link rel="stylesheet" href="/static/admin/caozha/css/style.css" media="all">
</head>
<body class="layui-layout-body">
<script src="/static/admin/layuimini/js/lay-config.js?v=2.0.0" charset="utf-8"></script>
<script>
    layui.use(['layer','miniTab'], function(){
        var layer = layui.layer,
        miniTab = layui.miniTab;

        layer_skin(layer);

        caozha_alert = layer.confirm('<?php echo $alert; ?>', {
            btn: ['确认', '取消'],
            btnAlign: 'c',
            title: "操作提示" ,
            cancel: function(){
                //右上角关闭回调
                layer.close(caozha_alert);
                miniTab.deleteCurrentByIframe();
                //return false 开启该代码可禁止点击该按钮关闭
            }
        }, function () {

            <?php echo $js_code; ?>

            layer.close(caozha_alert);
            var iframeIndex = parent.layer.getFrameIndex(window.name);
            parent.layer.close(iframeIndex);

        }, function () {

            layer.close(caozha_alert);
            miniTab.deleteCurrentByIframe();
            var iframeIndex = parent.layer.getFrameIndex(window.name);
            parent.layer.close(iframeIndex);

        });

    });
</script>
</body>
</html>